package org.dawning.shop.inventory.query.repository;

import org.dawning.shop.inventory.query.entry.InventoryEntry;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

/**
 * Created by Cc on 2017/6/12.
 */
@RepositoryRestResource(path = "inventory",collectionResourceRel = "inventory")
public interface InventoryRepository extends MongoRepository <InventoryEntry,String>{
}
